﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("请输入您要计算的图形：1.正方形；2.圆形");
            int c = Convert.ToInt32(Console.ReadLine());
            if (c==1)
            {
                Console.WriteLine("请输入长");
                double b = Convert.ToDouble(Console.ReadLine());
                Circle sa = new Circle(b);
                sa.GetArea();
            }
        }
    }
}
